package com.qf.day13;

public class Poker {
    private String type = "";
    private String count;

    private int value;

    public Poker(String type, String count, int value) {
        this.type = type;
        this.count = count;
        this.value = value;
    }

    public Poker() {
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String[] createType() {
         return new String[]{"红桃", "黑桃", "草花", "梅花"};
    }
    public String[] createCount() {
       return  new String[]  {"3","4","5","6","7","8","9","10","J","Q","K","A","2"};
    }

    @Override
    public String toString() {
        return  type + '\'' + count + '\'' +value;

    }
}
